package com.ajk.server.service;
import java.util.List;

import com.ajk.server.model.HobbyDict;
import com.ajk.server.model.query.HobbyDictQuery;

/**
 * 爱好  <br>
 * dict_hobby <br>
 * v1.0 2016-05-01
 */
 public interface HobbyDictService {
	
	/**
 	*根据ID删除 爱好
 	*/
 	public Integer deleteHobbyDictById(Integer id);
 	
 	/**
 	*新增 爱好
 	*/
 	public Integer batchInsertHobbyDict(List<? extends HobbyDict> hobbyDicts);
 	
 	/**
 	*新增 爱好
 	*/
 	public Integer insertHobbyDict(HobbyDict domain);
 
 	
 	/**
 	*更新 爱好
 	*/
 	public Integer updateHobbyDict(HobbyDict domain);
 	
 	/**
 	*根据ID查询 爱好
 	*/
 	public HobbyDict findHobbyDictById(Integer id);

	/**
 	*通过query 查询 爱好
 	*/
	public List<HobbyDict> findHobbyDictByQuery(HobbyDictQuery query);	
	
	/**
 	*通过query count总条数
 	*/
 	public Integer countHobbyDictByQuery(HobbyDictQuery query);
 	
 	/**
 	* 通过ids查询
 	*/
 	public List<HobbyDict> findHobbyDictByIds(List<Integer> ids);
 	
 	/**
 	*根据name查询 爱好
 	*/
	public HobbyDict findByName(String name);
	
	/**
 	*获取所有字典 爱好
 	*/
	public List<HobbyDict> findAll();
	
}	